package com.midou.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */

/**
 * 套餐明细表
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SetMeal implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 套餐主键
     */
    @TableId(value = "set_meal_id", type = IdType.AUTO)
    private Integer setMealId;

    /**
     * 套餐名称
     */
    private String setMealName;

    /**
     * 菜品的外键(菜品表如果是否套餐列表示是套餐的话就有套餐明细)
     */
    @TableField("menu_Id")
    private Integer menuId;

    /**
     * 分组id
     */
    private String menuGroup;


}
